package com.csun.cmny.provider.service.impl;

import com.csun.cmny.core.support.BaseService;
import com.csun.cmny.provider.dao.OmcSanitationServiceMapper;
import com.csun.cmny.provider.model.domain.OmcSanitationService;
import com.csun.cmny.provider.model.dto.sanitation.SanitationServiceSelectDto;
import com.csun.cmny.provider.model.vo.sanitation.SanitationServiceVo;
import com.csun.cmny.provider.service.OmcSanitationServiceService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Slf4j
@Transactional
public class OmcSanitationServiceServiceImpl extends BaseService<OmcSanitationService> implements OmcSanitationServiceService {

    @Resource
    private OmcSanitationServiceMapper sanitationServiceMapper;

    @Override
    public List<SanitationServiceVo> selectSanitationService(SanitationServiceSelectDto sanitationServiceSelectDto) {
        return sanitationServiceMapper.selectSanitationService(sanitationServiceSelectDto);
    }
}
